/**
 * @name : 技师入驻
 * @author: joinSkill
 */
export const joinSkill = (params) => uni.$uv.http.post('/api/technicianProfile/add', params)

/**
 * @name : 技师入驻详情
 * @author: joinSkillDetail
 */
export const joinSkillDetail = () => uni.$uv.http.get('/api/technicianProfile/getTechnicianDetail')

/**
 * @name : 意向行业列表
 * @author: joinSkill
 */
export const getIntentionList = () => uni.$uv.http.get('/api/technicianProfile/intendedIndustryList')

/**
 * @name : 社区列表
 * @author: joinSkill
 * @query: area_id 街道ID
 */
export const getCommunityList = (params) => uni.$uv.http.get('/api/settings/getCommunityList', {
	params
})

/**
 * @name : 邻工入驻
 * @author: joinWorker
 */
export const joinWorker = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/add', params)

/**
 * @name : 邻工入驻详情
 * @author: joinWorkerDetail
 */
export const joinWorkerDetail = () => uni.$uv.http.get('/api/neighborWorkerProfile/getNeighborWorkerDetail')

/**
 * @name : 商家入驻
 * @author: joinMerchant
 */
export const joinMerchant = (params) => uni.$uv.http.post('/api/merchantProfile/add', params)

/**
 * @name : 商家入驻详情
 * @author: joinMerchantDetail
 */
export const joinMerchantDetail = () => uni.$uv.http.get('/api/merchantProfile/getMerchantDetail')

/**
 * @name : 代理商入驻
 * @author: joinAgent
 */
export const joinAgent = (params) => uni.$uv.http.post('/api/agentProfile/add', params)

/**
 * @name : 代理商入驻详情
 * @author: joinAgentDetail
 */
export const joinAgentDetail = () => uni.$uv.http.get('/api/agentProfile/detail')

/**
 * @name : 管家入驻
 * @author: joinManager
 */
export const joinManager = (params) => uni.$uv.http.post('/api/managerProfile/add', params)

/**
 * @name : 管家入驻详情
 * @author: joinManagerDetail
 */
export const joinManagerDetail = () => uni.$uv.http.get('/api/managerProfile/detail')

// 使用腾讯通过经纬度获取周边一公里之内的信息
export const getNearbyPlaces = (params) => uni.$uv.http.get('/address/getNearbyPlaces', {
	params
})


